package com.anyou.mall.platform.mapper;

import java.util.List;
import com.anyou.mall.platform.domain.OrdDelivery;
import com.anyou.mall.platform.domain.PlaPlatformSettings;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 配送设置Mapper接口
 *
 * @author ruoyi
 * @date 2023-10-10
 */
public interface OrdDeliveryMapper extends BaseMapper<OrdDelivery>
{
    /**
     * 查询配送设置
     *
     * @param deliveryId 配送设置主键
     * @return 配送设置
     */
    public OrdDelivery selectOrdDeliveryByDeliveryId(Long deliveryId);

    /**
     * 查询配送设置列表
     *
     * @param ordDelivery 配送设置
     * @return 配送设置集合
     */
    public List<OrdDelivery> selectOrdDeliveryList(OrdDelivery ordDelivery);

    /**
     * 新增配送设置
     *
     * @param ordDelivery 配送设置
     * @return 结果
     */
    public int insertOrdDelivery(OrdDelivery ordDelivery);

    /**
     * 修改配送设置
     *
     * @param ordDelivery 配送设置
     * @return 结果
     */
    public int updateOrdDelivery(OrdDelivery ordDelivery);

    /**
     * 删除配送设置
     *
     * @param deliveryId 配送设置主键
     * @return 结果
     */
    public int deleteOrdDeliveryByDeliveryId(Long deliveryId);

    /**
     * 批量删除配送设置
     *
     * @param deliveryIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteOrdDeliveryByDeliveryIds(Long[] deliveryIds);
}
